package com.fw.service.persistence.dto;

import javax.persistence.Entity;

import org.springframework.data.jpa.domain.AbstractPersistable;

@Entity
public class MerchantUser extends AbstractPersistable<Long> {

    public static final String STATUS_ACTIVE = "MerchantUser.STATUS_ACTIVE";
    public static final String STATUS_INACTIVE = "MerchantUser.STATUS_INACTIVE";
    public static final String STATUS_LOCKED = "MerchantUser.STATUS_LOCKED";
    public static final String STATUS_EXPIRED = "MerchantUser.STATUS_EXPIRED";
    public static final String STATUS_CLOSED = "MerchantUser.STATUS_CLOSED";

    public static final String USER_TYPE_AEON_USER = "MerchantUser.USER_TYPE_MERCHANT_USER";

    public static final String PASSWORD_STATUS_FORCE_CHANGE = "MerchantUser.PASSWORD_STATUS_FORCE_CHANGE";
    public static final String PASSWORD_STATUS_COMPLETE = "MerchantUser.PASSWORD_STATUS_COMPLETE";

    private static final long serialVersionUID = 1L;

    private String merchantID;
    private String serviceID;
    private String parentID;
    private String userType;
    private String username;
    private String email;
    private String name;
    private String role;
    private String status;
    private String expiredDate;
    private String createDatetime;
    private String createBy;
    private String lastUpdateDatetime;
    private String lastUpdateBy;

    private String passwordHash;
    private String passwordStatus;

    public String getMerchantID() {
	return merchantID;
    }

    public void setMerchantID(String merchantID) {
	this.merchantID = merchantID;
    }

    public String getParentID() {
	return parentID;
    }

    public void setParentID(String parentID) {
	this.parentID = parentID;
    }

    public String getUserType() {
	return userType;
    }

    public void setUserType(String userType) {
	this.userType = userType;
    }

    public String getUsername() {
	return username;
    }

    public void setUsername(String username) {
	this.username = username;
    }

    public String getEmail() {
	return email;
    }

    public void setEmail(String email) {
	this.email = email;
    }

    public String getName() {
	return name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public String getRole() {
	return role;
    }

    public void setRole(String role) {
	this.role = role;
    }

    public String getStatus() {
	return status;
    }

    public void setStatus(String status) {
	this.status = status;
    }

    public String getExpiredDate() {
	return expiredDate;
    }

    public void setExpiredDate(String expiredDate) {
	this.expiredDate = expiredDate;
    }

    public String getCreateDatetime() {
	return createDatetime;
    }

    public void setCreateDatetime(String createDatetime) {
	this.createDatetime = createDatetime;
    }

    public String getCreateBy() {
	return createBy;
    }

    public void setCreateBy(String createBy) {
	this.createBy = createBy;
    }

    public String getLastUpdateDatetime() {
	return lastUpdateDatetime;
    }

    public void setLastUpdateDatetime(String lastUpdateDatetime) {
	this.lastUpdateDatetime = lastUpdateDatetime;
    }

    public String getLastUpdateBy() {
	return lastUpdateBy;
    }

    public void setLastUpdateBy(String lastUpdateBy) {
	this.lastUpdateBy = lastUpdateBy;
    }

    public String getPasswordHash() {
	return passwordHash;
    }

    public void setPasswordHash(String passwordHash) {
	this.passwordHash = passwordHash;
    }

    public String getPasswordStatus() {
	return passwordStatus;
    }

    public void setPasswordStatus(String passwordStatus) {
	this.passwordStatus = passwordStatus;
    }

    public String getServiceID() {
	return serviceID;
    }

    public void setServiceID(String serviceID) {
	this.serviceID = serviceID;
    }

}
